package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.PublicActivitiesDTO;
import com.financing.platform.dto.PublicActivitiesPersonDTO;
import com.financing.platform.vo.PublicActivitiesVO;

/**
 * 
 * @ClassName: IPublicActivitiesService
 * @Description: 公共活动服务器层 
 * @author  qiye
 * @date 2014年11月6日 下午4:15:27
 *
 */
public interface IPublicActivitiesService extends IBaseService {
 
	/**
	 * 
	 * @Title: addPublicActivities
	 * @Description: 添加公共活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int addPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	/**
	 * 
	 * @Title: publicActivitiesList
	 * @Description:  
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesVO>   
	 * @throws
	 */
	public List<PublicActivitiesVO> publicActivitiesList(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: publicActivitiesListCount
	 * @Description:  
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesVO>   
	 * @throws
	 */
	public int publicActivitiesListCount(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: publicActivitiesPersonList
	 * @Description: 查询当前报名人数列表 
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesPersonDTO>   
	 * @throws
	 */
	public List<PublicActivitiesPersonDTO> publicActivitiesPersonList(PublicActivitiesPersonDTO publicActivitiesPersonDTO) throws SQLException;

	/**
	 * 
	 * @Title: queryPublicActivities
	 * @Description: 查询活动详情 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return PublicActivitiesDTO   
	 * @throws
	 */
	public PublicActivitiesDTO queryPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: updatePublicActivities
	 * @Description: 更新活动信息 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int updatePublicActivities(PublicActivitiesDTO publicActivitiesDTO)throws SQLException;
}
